Page({
data: {
  activeNames: ['1'],
  imgUrls: [
    'http://file06.16sucai.com/2016/0908/b32edb7fa069603a5bced820b030b30d.jpg',
    'http://file06.16sucai.com/2016/0628/36b88b87463c0e3cd7020337c712eac2.jpg',
    'http://file06.16sucai.com/2016/0628/ab3eeefce84dd9ddd8856a2fc10590cf.jpg'
  ],
  indicatorDots: true,  //是否显示面板指示点
  autoplay: true,      //是否自动切换
  interval: 3000,       //自动切换时间间隔
  duration: 1000,       //滑动动画时长
  inputShowed: false,
  inputVal: ""
},
onLoad: function (options) {
  wx.stopPullDownRefresh()
},

/**
 * 页面相关事件处理函数--监听用户下拉动作
 */
onPullDownRefresh: function () {
  this.onLoad()
},
  onChange(event) {
    this.setData({
      activeNames: event.detail,
    });
  },
})
